<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<xsl:import href="base-template.imp.xsl" />
	
	<xsl:output encoding="UTF-8" method="html" saxon:character-representation="native" xmlns:saxon="http://saxon.sf.net/"/>
	
	<xsl:template name="content">
			<div class="title">Информация о машине</div>
			<!--<xsl:value-of select="//page/Car/@infoid"/>.-->
			<div class="title-article"><xsl:value-of select="//page/Car/Model/Developer/@name"/><![CDATA[&nbsp;]]>
			<xsl:value-of select="//page/Car/Model/@name"/></div>
			<table>
				<tr>
					<td>
						<img src="/media/cars/{//page/Car/@id}/small.jpg" width="114" height="90" alt="{//page/Car/Model/Developer/@name}" border="0"/>
					</td>
				</tr>
				<tr>
					<td class="text">Объем двигателя:</td>
					<td class="text"><xsl:value-of select="//page/Car/@enginev"/> см<sup>3</sup></td>
				</tr>
				<tr>
					<td class="text">Год выпуска: </td>
					<td class="text"><xsl:value-of select="//page/Car/@year"/> г.</td>
				</tr>
				<tr>
					<td class="text">Пробег: </td>
					<td class="text"><xsl:value-of select="//page/Car/@path"/> км.</td>
				</tr>
				<tr>
					<td  class="text">Цена: </td>
					<td class="text"><xsl:value-of select="//page/Car/@price"/><![CDATA[$]]></td>
				</tr>
				<tr>
					<td class="text">Цвет: </td>
					<td class="text"><xsl:value-of select="//page/Car/@color"/></td>
				</tr>
				<tr>
					<td class="text">Состояние: </td>
					<td class="text"><xsl:value-of select="//page/Car/state/@description"/></td>
				</tr>
				<tr>
					<td class="text">Описание: </td>
					<td class="text"><xsl:value-of select="//page/Car/@description"/></td>
				</tr>
			</table>

	</xsl:template>
</xsl:stylesheet>	